Herramientas/Links que vamos a utilizar durante el taller:
* R
* Processing & Processing.js
* D3.js (?) --> https://gist.github.com/aaizemberg/6153101
* QGIS ó QuantumGIS
* Tableau Public
...
* http://www.w3schools.com/
* http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
* JSBIN --> http://jsbin.com/
* Codecademy --> http://www.codecademy.com/

---- processing, processing.js, svg, R, D3.js ó paint  ----
paleta de colores (visibles)

usando line o rect

ColorMode
	rgb <--> hsv

RGB color model
http://en.wikipedia.org/wiki/RGB_color_model

CMYK color model
http://en.wikipedia.org/wiki/CMYK_color_model

http://en.wikipedia.org/wiki/HSL_and_HSV

Colour guidelines
http://www.infovis.net/printMag.php?num=184&lang=2

Paleta de Colores de Cynthia Brewer
http://colorbrewer2.org/

Every ColorBrewer Scale
http://bl.ocks.org/mbostock/5577023

------------------------------------------------------------
Ilusiones

http://web.mit.edu/persci/people/adelson/checkershadow_illusion.html

http://web.mit.edu/persci/gaz/gaz-teaching/index.html

Contraste Simultaneo
http://web.mit.edu/persci/gaz/gaz-teaching/flash/contrast-movie.swf

---------------- corte / 2da parte 

Bajarse un mapa de la argentina
https://2mp.conae.gov.ar/descargas/Coberturas/IGN%20-%20SIG250/008_Limites_Provinciales.zip

Bajarse datos del INDEC
censo2010, población total x provincia

realizar un mapa temático en QGIS con estos datos

----------------

mapa vs gráfico de barras

----------------

tableau public (mapa temático y grafico de barras en un dashboard)

----------------

clustering k-means desde R

armar grupos, segun la población

mostrar estos grupos, sobre el mapa y sobre el grafico de barras

k-means con mas varialbes

----------------
(si hay tiempo)

Chernoff Faces in R

// instalar esta librería: TeachingDemos

install.packages("TeachingDemos")
library(TeachingDemos)
faces2(matrix( runif(18*10), nrow=10), main='Random Faces')

----------------

LISTO


---------------------------------------
size(256,256);

for (int i = 0; i < width; i++) {
  stroke(i,i,i)
  line(i, 0, i, height);

}
---------------------------------------
size(256,64);
colorMode(HSB, width);
for (int i = 0; i < width; i++) {
  stroke(i,width,width)
  line(i, 0, i, height);
}
---------------------------------------
size(256,64);
int cant = 12;
colorMode(HSB,cant);
for (int i = 0; i < cant; i++) {
  fill(i,width,width)
  stroke(0,0,cant);
  rect(i*(width/cant), 0, width/cant, height-1);
}
---------------------------------------
library(RColorBrewer)

display.brewer.all()

### Generate random data matrix
rand.data <- replicate(8,rnorm(100,100,sd=1.5))
 
### Draw a box plot, with each box coloured by the 'Set3' palette
boxplot(rand.data,col=brewer.pal(8,"Set3"))

---------------------------------------

size(200,200);
noStroke();
fill((1/4)*256,(1/4)*256,(1/4)*256);
rect(0,0,width/2,height);
fill((3/4)*256,(3/4)*256,(3/4)*256);
rect(width/2,0,width/2,height);

rectMode(CENTER);

fill(128,128,128);
rect(width/4,height/2,30,30);
rect(3*(width/4),height/2,30,30);

---------------------------------------

Provincias (segun el mapa del SIG 250 del IGN)
SANTA CRUZ
CHUBUT
RIO NEGRO
NEUQUEN
LA PAMPA
MENDOZA
SAN LUIS
ENTRE RIOS
CORDOBA
SAN JUAN
SANTA FE
LA RIOJA
CORRIENTES
TUCUMAN
SANTIAGO DEL ESTERO
MISIONES
CATAMARCA
CHACO
FORMOSA
SALTA
JUJUY
TIERRA DEL FUEGO, ANTÁRTIDA E*
BUENOS AIRES
CIUDAD AUTONOMA DE BUENOS AIRE


